package com.sl.biz.modular.process.service;


import com.sl.biz.modular.process.controller.response.ProcessVersionVO;
import com.sl.biz.modular.process.dao.domain.dto.ProcessVersionDTO;
import com.sl.biz.modular.process.dao.domain.entity.ProcessVersionDO;

import java.util.List;

public interface ProcessVersionBizService {

    List<ProcessVersionVO> list(ProcessVersionDO processVersionDO);

    ProcessVersionDTO getById(ProcessVersionDO addRequest);

    Boolean removeById(ProcessVersionDO removeByIdRequest);

    String save(ProcessVersionDO addRequest);

    Boolean setStatusFlag(ProcessVersionDO assertUserUse);

    Boolean setLatestFlag(ProcessVersionDO assertUserUse);

    Boolean clearCache(ProcessVersionDO processVersionDO);

    ProcessVersionDTO getByProcessIdAndVersion(ProcessVersionDO addRequest);

    Boolean removeByProcessIdAndVersion(String processId, String processVersion);
}
